{foreach from=$ClientMenu.$MenuCode item=curr key=key name="bmenu"}<a href="{eval var=$curr.link|unescape}"{if $curr.currItem eq 'y'} class="white"{else} class="black_bez"{/if}>{$curr.title}</a>{if $smarty.foreach.bmenu.last neq true}&nbsp;|&nbsp;{/if}{/foreach}